#pragma once

#include "ZNetworkCommon.h"
#include <list>

namespace	Z	{

//------------------------------------------------------------------------------------------------------------------------
class	Stream;

//------------------------------------------------------------------------------------------------------------------------
class	_ZNetworkApi	NetworkBuffer
{
protected:
	typedef	std::list<Stream*>	Streams;

public:
	size_t	getReadableSize()	const;
protected:
	NetworkBuffer();
	virtual	~NetworkBuffer();
	size_t	getWritableSize()	const;

protected:
	Streams	mStreams;
};

}